package action;

import modele.Film;

import com.opensymphony.xwork2.ActionSupport;

import data.FilmXML;

public class ListeFilms extends ActionSupport {

	private static final long serialVersionUID = 8489485954327677850L;
	private Film[] listeFilms;
	
	public String execute() throws Exception {
		FilmXML filmXML = new FilmXML();
		listeFilms = filmXML.getListeFilms();
		return SUCCESS;
	}

	public Film[] getListeFilms() {
		return listeFilms;
	}

	public void setListeFilms(Film[] listeFilms) {
		this.listeFilms = listeFilms;
	}
	
	
}
